package com.jintian.smart.base.api.security.entity;

import com.jintian.smart.kernel.core.domain.IEntity;
import lombok.Data;
import org.beetl.sql.annotation.builder.FillStrategy;
import org.beetl.sql.annotation.builder.UpdateTime;
import org.beetl.sql.annotation.entity.AssignID;
import org.beetl.sql.annotation.entity.Table;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * reload结果 <br>
 * sec_reload_result 数据表 实体类
 */
@Data
@Table(name = "sec_reload_result")
public class ReloadResultEntity implements IEntity {
    /**
     * 加载项标签
     */
    @AssignID("snowid")
    private String tag;

    /**
     * 运行标识
     */
    private String identification;

    /**
     * 参数
     */
    private String args;

    /**
     * 运行结果
     */
    private Integer result;

    /**
     * 异常
     */
    private String exception;

    /**
     * 创建时间
     */
    @UpdateTime(FillStrategy.INSERT)
    private LocalDateTime createTime;
}
